
<div class="btn-group"><a href="<?php echo site_urlc('balance/index');?>" class="btn"> <i class="fa fa-arrow-left"></i> <?php echo lang('back_list')?> </a></div>

<?php include_once 'inc_form_errors.php'; ?>

<div class="boxed">
    <h3> <i class="fa fa-pencil"></i> <?php echo lang('edit') ?> <span class="badge badge-success pull-right"><?php echo $title; ?></span></h3>
    <?php echo form_open(current_urlc(), array('class' => 'form-horizontal', 'id' => 'frm-edit')); ?>
    <div class="boxed-inner seamless">
        <div class="control-group">
            <label for="title" class="control-label">用户名:</label>
            <div class="controls">
                <label><?php echo $it['account']['uname']?></label>
                <span class="help-inline"></span>
            </div>
        </div>
        <div class="control-group">
            <label for="title" class="control-label">手机号:</label>
            <div class="controls">
                <label><?php echo $it['account']['phone']?></label>
                <span class="help-inline"></span>
            </div>
        </div>
        <div class="control-group">
            <label for="title" class="control-label">说明:</label>
            <div class="controls">
                <label><?php echo $it['title']?></label>
                <span class="help-inline"></span>
            </div>
        </div>
        <div class="control-group">
            <label for="title" class="control-label">类型:</label>
            <div class="controls">
                <label><?php echo $it['type']?></label>
                <span class="help-inline"></span>
            </div>
        </div>
        <div class="control-group">
            <label for="title" class="control-label">状态:</label>
            <div class="controls">
                <label><?php echo $it['status']?></label>
                <span class="help-inline"></span>
            </div>
        </div>
        <div class="control-group">
            <label for="title" class="control-label">支付方式:</label>
            <div class="controls">
                <label><?php echo $it['pay_ways']?></label>
                <span class="help-inline"></span>
            </div>
        </div>
        <div class="control-group">
            <label for="title" class="control-label">金额:</label>
            <div class="controls">
                <label><?php echo $it['money']?></label>
                <span class="help-inline"></span>
            </div>
        </div>
        <div class="control-group">
            <label for="title" class="control-label">支付单号:</label>
            <div class="controls">
                <label><?php echo $it['payment_sn']?></label>
                <span class="help-inline"></span>
            </div>
        </div>
        <div class="control-group">
            <label for="title" class="control-label">支付宝账户名:</label>
            <div class="controls">
                <label><?php echo $it['alipay_num']?></label>
                <span class="help-inline"></span>
            </div>
        </div>
        <div class="control-group">
            <label for="title" class="control-label">支付宝实名认证:</label>
            <div class="controls">
                <label><?php echo $it['alipay_name']?></label>
                <span class="help-inline"></span>
            </div>
        </div>
        <div class="control-group">
            <label for="title" class="control-label">微信昵称:</label>
            <div class="controls">
                <label><?php echo $it['nickname']?></label>
                <span class="help-inline"></span>
            </div>
        </div>
        <div class="control-group">
            <label for="title" class="control-label">支付时间:</label>
            <div class="controls">
                <label><?php echo date('Y-m-d H:i:s',$it['pay_time'])?></label>
                <span class="help-inline"></span>
            </div>
        </div>
        <div class="control-group">
            <label for="title" class="control-label">创建时间:</label>
            <div class="controls">
                <label><?php echo date('Y-m-d H:i:s',$it['created_at'])?></label>
                <span class="help-inline"></span>
            </div>
        </div>
    </div>
</form>
</div>

<?php include_once 'inc_ui_media.php'; ?>
<script type="text/javascript">
    require(['jquery','adminer/js/ui','adminer/js/media'],function($,ui,media){
        ui.editor_create('editor_id');
        var balance_photos = <?php echo json_encode($ps) ?>;
        media.show(balance_photos,'photo');
        media.sort('photo');
    });
</script>
